package com.xff.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.xff.mybatisplus.enums.SexEnum;
import lombok.Data;

@Data
//@TableName("t_user")
public class User {
    //@TableId(value = "uid", type = IdType.AUTO)
    @TableId("uid")
    private Long id;
    @TableField("user_name")
    private String name;
    private Integer age;
    private String email;
    private SexEnum sex;
    @TableLogic
    private Integer isDeleted;
}
